package org.ee.system.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author jokr
 * @Date 2025/8/19 下午2:55
 */
@Component
@ConfigurationProperties(prefix = "jwt")
public class JwtProperties {
    private String secret;
    private Long expirationMs;
    private Long refreshMs;

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public Long getExpirationMs() {
        return expirationMs;
    }

    public void setExpirationMs(Long expirationMs) {
        this.expirationMs = expirationMs;
    }

    public Long getRefreshMs() {
        return refreshMs;
    }

    public void setRefreshMs(Long refreshMs) {
        this.refreshMs = refreshMs;
    }
}
